import React from 'react'
import ReactDOM from 'react-dom'
import mirror, {actions, connect, Link} from 'mirrorx'
import { WhiteSpace, WingBlank } from 'antd-mobile'
import { FormattedMessage} from 'react-intl'

class App extends React.Component {
  constructor (props) {
    super(props)
  }
  componentDidMount () {

  }
  render () {
    return (<div className='tac success-page mb30'>
      <div className='success-wrap'>
        <img src='/assets/images/success.png' />
      </div>
      <div className='f36'>
        <FormattedMessage id='reg_success' defaultMessage='注册成功' />
      </div>

      <div className='btn-div'>
        <div className='page-btn-3 f28' style={{marginTop: '30px'}} onClick={() => actions.routing.push({pathname: '/login'})}>
          <FormattedMessage id='log_right_now' defaultMessage='立即登录' />
        </div>
      </div>
    </div>)
  }
}
export default App
